#pragma once


// CHoverButton

class CHoverButton : public CBitmapButton
{
	DECLARE_DYNAMIC(CHoverButton)

public:
	CHoverButton();
	virtual ~CHoverButton();

protected:
	DECLARE_MESSAGE_MAP()

	BOOL m_bTracking;
	BOOL m_bHover;
public:
	afx_msg void OnMouseLeave();
	virtual void DrawItem(LPDRAWITEMSTRUCT /*lpDrawItemStruct*/);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnMouseHover(UINT nFlags, CPoint point);
};


